package cn.zero.fegin;

import cn.zero.domain.MovieTicket;
import cn.zero.result.JSONResult;
import feign.hystrix.FallbackFactory;

public class MovieFeginFallbackFactory  implements FallbackFactory<MovieFegin> {

    @Override
    public MovieFegin create(Throwable throwable) {
        return new MovieFegin() {
            @Override
            public MovieTicket getMovie(Long id) {
                return null;
            }
        };
    }
}
